<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Header &lt;boost/test/debug.hpp&gt;</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../index.html" title="Boost.Test">
<link rel="up" href="../../../boost_test/reference.html" title="Reference">
<link rel="prev" href="../../../BOOST_DATA_TEST_CASE_F.html" title="Macro BOOST_DATA_TEST_CASE_F">
<link rel="next" href="../../../boost/debug/dbg_startup_info.html" title="Struct dbg_startup_info">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../../../BOOST_DATA_TEST_CASE_F.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../boost_test/reference.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../../boost/debug/dbg_startup_info.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="header.boost.test.debug_hpp"></a>Header &lt;<a href="../../../../../../../boost/test/debug.hpp" target="_top">boost/test/debug.hpp</a>&gt;</h4></div></div></div>
<p>defines portable debug interfaces </p>
<p>Intended to standardize interface of programs with debuggers </p>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">debug</span> <span class="special">{</span>
    <span class="keyword">struct</span> <a class="link" href="../../../boost/debug/dbg_startup_info.html" title="Struct dbg_startup_info">dbg_startup_info</a><span class="special">;</span>

    <span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">function</span><span class="special">&lt;</span> <span class="keyword">void</span><span class="special">(</span><a class="link" href="../../../boost/debug/dbg_startup_info.html" title="Struct dbg_startup_info">dbg_startup_info</a> <span class="keyword">const</span>  <span class="special">&amp;</span><span class="special">)</span><span class="special">&gt;</span> <a name="boost.debug.dbg_starter"></a><span class="identifier">dbg_starter</span><span class="special">;</span>  <span class="comment">// Signature of debugger starter routine. Takes an instance of dbg_startup_into as only argument. </span>
    <span class="keyword">bool</span> <a class="link" href="../../../boost/debug/under_debugger.html" title="Function under_debugger"><span class="identifier">under_debugger</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>

    <span class="comment">// Cause program to break execution in debugger at call point. </span>
    <span class="keyword">void</span> <a name="boost.debug.debugger_break"></a><span class="identifier">debugger_break</span><span class="special">(</span><span class="special">)</span><span class="special">;</span>
    <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="../../../boost/debug/set_debugger.html" title="Function set_debugger"><span class="identifier">set_debugger</span></a><span class="special">(</span><span class="identifier">unit_test</span><span class="special">::</span><span class="identifier">const_string</span><span class="special">,</span> 
                             <span class="identifier">dbg_starter</span> <span class="special">=</span> <span class="identifier">dbg_starter</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">bool</span> <a class="link" href="../../../boost/debug/attach_debugger.html" title="Function attach_debugger"><span class="identifier">attach_debugger</span></a><span class="special">(</span><span class="keyword">bool</span> <span class="special">=</span> <span class="keyword">true</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">void</span> <a class="link" href="../../../boost/debug/detect_memory_leaks.html" title="Function detect_memory_leaks"><span class="identifier">detect_memory_leaks</span></a><span class="special">(</span><span class="keyword">bool</span><span class="special">,</span> 
                             <span class="identifier">unit_test</span><span class="special">::</span><span class="identifier">const_string</span> <span class="special">=</span> <span class="identifier">unit_test</span><span class="special">::</span><span class="identifier">const_string</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">void</span> <a class="link" href="../../../boost/debug/break_memory_alloc.html" title="Function break_memory_alloc"><span class="identifier">break_memory_alloc</span></a><span class="special">(</span><span class="keyword">long</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2022 Boost.Test contributors<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../../../BOOST_DATA_TEST_CASE_F.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../boost_test/reference.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../../boost/debug/dbg_startup_info.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
